﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginSuccess.aspx.cs" Inherits="WebApplication3.LoginSuccess" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <script>
        $(function () {
            $("#loginout").click(function () {
                $("#sso").attr("src", "http://localhost:61659/iframe?removetoken=true");
            });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <h3>B系统登录成功</h3>
            <h5 style="color:red"><%=Request.QueryString.Get("user") %></h5>
            <a href="Function.aspx">查看功能页</a>
        </div>
        <iframe id="sso" src="" style="display: none"></iframe>
        <asp:Button ID="loginout" runat="server" Text="注销" OnClick="loginout_Click" />
    </form>
    
</body>
</html>